with logErr
